package project.background.dto;

import fld.background.system.dto.annotation.Dto;
import fld.background.system.dto.annotation.NoDeleted;
import fld.background.system.dto.annotation.QueryElements;
import fld.background.system.dto.annotation.Sorted;
import fld.background.system.dto.enums.QueryType;

@Dto("企业新闻")
@NoDeleted
@Sorted({"publishDate desc"})
public class NewsDto{
	
	@QueryElements(field = "companyId", type = QueryType.equal)
	private Long companyId;
	
	@QueryElements(field = "title", type = QueryType.like)
	private String title;
	
}
